import datetime
from applications.extensions import db
import datetime
class Seting(db.Model):
    __tablename__='chat_seting'
    id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='用户ID')
    Keyword=db.Column( db.String( 100 ), comment='关键词 关键词识别出服务类型 后续根据服务器类型返回内容', default='' )
    Type=db.Column(db.String(20),comment='类型1.打车', default='')
    Content=db.Column(db.String(256), comment='回复内容', default='')
    Sort=db.Column(db.Integer, comment='排序', default='0')
    MsType=db.Column(db.String(20),
                    comment='消息类型【TEXT, MAP, CARD, NOTE, SHARING, PICTURE,RECORDING, VOICE, ATTACHMENT, VIDEO, FRIENDS, SYSTEM, MINIPROGRAM】',
                    default='TEXT' )
    Create_time = db.Column(db.DateTime, default=datetime.datetime.now, comment='创建时间')